@layout("/common/container.html", {"title" : "流程管理", "plugin": "dropzone"}){
<div class="card">
    <#card:head title="流程管理" icon="la la-bars"/>
    <div class="card-body">
        <form class="e-form">
            <div class="query-modular">
                <div class="e-grid e-grid--ver e-grid--general">
                    <div class="e-grid-item e-grid-item--fluid">
                        <div class="row">
                            <!--str:查询条件区域-->
                            <div class="col-xl-3 col-lg-4 col-md-6 col-12">
                                <#form:input id="processDefinitionId" name="ID" />
                            </div>
                            <div class="col-xl-3 col-lg-4 col-md-6 col-12">
                                <#form:input id="name" name="名称" />
                            </div>
                            <!--end:查询条件区域-->
                        </div>
                    </div>
                    <div class="e-grid-item query-btn-group">
                        <#btn:search />
                        <#btn:reset />
                    </div>
                </div>
            </div>
            <div class="btn-row">
                <button type="button" class="btn btn-brand show-upload-modal">
                    <i class="la la-cloud-upload"></i> 上传模型部署流程
                </button>
                <#tableTool />
            </div>
            <div class="e-datatable" id="activiti-process-list"></div>
        </form>
    </div>
</div>
<div class="modal fade" id="upload-modal">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title">选择模型</h5>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                </button>
            </div>
            <div class="modal-body">
                <div class="e-dropzone dropzone" id="upload-model">
                    <div class="e-dropzone-msg dz-message needsclick">
                        <h3 class="e-dropzone-msg-title">拖动文件到这里或者点击选择文件</h3>
                        <span class="e-dropzone-msg-desc">仅允许上传bar、zip、xml文件</span>
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button" class="btn btn-brand" id="submit-model" disabled>确定</button>
            </div>
        </div>
    </div>
</div>
<!--begin::页面脚本 -->
<#script src="static/modular/activiti/process/list.js" />
<!--end::页面脚本 -->
@}